package com.discovery.main;

public class Port implements StorageEntity
{
	private String portType = null;
	private String portWwn 	= null;
	private String nodeWwn	= null;
	private String iscsiidentifier = null;
	private String alternateNames	= null;
	private String lunids	= null;

	public String getAlternateNames() {
		return alternateNames;
	}
	public void setAlternateNames(String alternateNames) {
		this.alternateNames = alternateNames;
	}
	public String getLunids() {
		return lunids;
	}
	public void setLunids(String lunids) {
		this.lunids = lunids;
	}
	public String getPortType() {
		return portType;
	}
	public void setPortType(String portType) {
		this.portType = portType;
	}
	public String getPortWwn() {
		return portWwn;
	}
	public void setPortWwn(String portWwn) {
		this.portWwn = portWwn;
	}
	public String getNodeWwn() {
		return nodeWwn;
	}
	public void setNodeWwn(String nodeWwn) {
		this.nodeWwn = nodeWwn;
	}
	public String getIscsiidentifier() {
		return iscsiidentifier;
	}
	public void setIscsiidentifier(String iscsiidentifier) {
		this.iscsiidentifier = iscsiidentifier;
	}

	public Port getDummyPort()
	{
		Port port = new Port();
		port.setPortType("ISCSI");
		port.setPortWwn("portWwn2:"+Util.getRandomAlphaNumericString(4));
		port.setNodeWwn("nodeWwn2"+Util.getRandomAlphaNumericString(4));
		port.setIscsiidentifier("iqn.2001-04.com.eng.vmware.vasa-iet:storage.t1"+Util.getRandomAlphaNumericString(4));
		port.setAlternateNames("alternateNames2"+Util.getRandomAlphaNumericString(4));
		port.setLunids(Util.getRandomAlphaNumericString(5));
		return port;
   }
}
